home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
et
/
tutorial
/
docs.lha
/
documentation
/
app_c.eps
(
.svg
)
< prev
next >
Encapsulated PostScript
|
1993-08-09
|
33KB
|
557x1021
|
8-bit (134 colors)
Labels:
black
|
darkness
OCR:
'hello'IListings C:iiListings C.1.Lernabschnitt:12mBeispielmhello1 Dec55916:5599915File:Shello1.CSSET++5Tutorialernabschnitt:25Beispiel:Shello 15PageS 11 //SET++5Tutorial.ernabschnitt: Beispiel: Shello1 // //SHello world with ET++: //55heStringShello world"shown5nClipper window 81 #ifdefET DUMP #includeSET_Dump.h" 10 #endif 12 #includeSET++.h" 13 #include5Collection.h" 14 15 HelloView5- 6 7 classHelloView:publicView 8 555Textitem5viewtext; 9 public: HelloView(Document5dp, Rectangle5tsExtent)55/iew(dp.StsExtent) 21 (4 22 5voidDraw(Rectangles); 23 void SetText(Textitem51); void5HelloView::SetText(Textitem51) Sviewtext5-9; 555/SorceSheSheSextStemSoScalculateStsSextent viewtext5>CalcExtent(); ForceRedraw(); voidHelloView::Draw(Rectangle5) viewtext->DrawAll(r); //----5HelloDocument5- 542 43 classHelloDocuments public Document 14 HelloView5view: Textitem5text; 16 public: HelloDocument(); 18 556-HelloDocument(); 49 5Window5 DoMakeWindows(); void DoRead(istream, SclassFile Type5); 551 void DoWrite(ostream, Snt); }; HelloDocument::HelloDocument(55Document("HELLO") 55static5nt5amily=51; 59 amily-family+1)5%50;5/5ycle3hroughfirst5105ontamilies 51560 55Bext-Snew5Textitem("helloworld55555555, Ch.Frei,cH.Schaudt Software Schule Schweiz 24 Anhang Seite:d02